package com.yukh.framework.mybatis.generator.page.demo1.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yukh.framework.mybatis.generator.page.demo1.model.UserInfo;
import com.yukh.framework.mybatis.generator.page.demo1.model.UserInfoCriteria;

public interface UserInfoMapper {
    int countByExample(UserInfoCriteria example);

    int deleteByExample(UserInfoCriteria example);

    int deleteByPrimaryKey(Integer userid);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    List<UserInfo> selectByExample(UserInfoCriteria example);

    UserInfo selectByPrimaryKey(Integer userid);

    int updateByExampleSelective(@Param("record") UserInfo record, @Param("example") UserInfoCriteria example);

    int updateByExample(@Param("record") UserInfo record, @Param("example") UserInfoCriteria example);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    List<UserInfo> selectPage(UserInfoCriteria example);
}